<template>
    <div>
        <van-swipe :autoplay="3000" indicator-color="white" class="swiper-container">
            <van-swipe-item v-for="item in $parent.imgList" :key="item.index">
                <img :src="item.imgUrl" class="swiper_img" alt="">
            </van-swipe-item>
        </van-swipe>
    </div>
</template>

<script>
    export default {
        data(){
            return {
                imgList:null,
            }
        },
        created(){
            
        },
    }
</script>

<style lang="scss" scoped>
.swiper-container {
    .swiper_img {
        width: 100%;
    }
}
</style>